package com.latamcloud.classes;

public class Message {

	/* TABLA ASCII 
		1 start of heading
		2 start of text
		3 end of text
		4 end of transmision
		5 enquiry 
		6 acknowlegde
		7 bell
		8 backspace
		9 tab
	 */
	
	int id = 0;
	String content ;
	
	final char BEGIN = (char) 1;
	final char BEGIN_TEXT = (char) 2;
	final char END_TEXT = (char) 3;
	final char END = (char) 4;
	final char QUESTION = (char) 5;
	final char ACK = (char) 6;
	final char TAB = (char) 9;
	
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}
	
	public Message() {};
	
	public void setContent(String content) {
		this.content = BEGIN + BEGIN_TEXT + content + END_TEXT + END;
	}
	
	public String getContent() {
		return "text";
	}
	
	
	

}
